package com.tengju.user.domain.model.survey;

import com.tengju.user.domain.model.user.UserIdCode;


public interface SurveyRepotiory {

    SurveyConfig getConfigById(Long surveyId);

    SurveyMeta getMetaById(Long surveyId);

    SurveyId getIdByTitle(String title);

    Boolean saveSurveyContent(SurveyContent surveyContent);

    Boolean isSubmitByIdCodeSurveyId(UserIdCode idCode, Long surveyId);

    SurveyContent getContent(UserIdCode idCode, SurveyId surveyId);

    Boolean saveSurveyConfig(SurveyConfigInfo surveyConfigInfo);


    Boolean updateSurveyConfig(Long id,SurveyConfigInfo surveyConfigInfo);

}
